package com.blb.community_admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.blb.community_admin.entity.SysMenu;
import com.blb.community_admin.entity.vo.MenuVO;

import java.util.List;

public interface SysMenuMapper extends BaseMapper<SysMenu> {

    /**
     * 侧边栏菜单列表
     * @param username
     * @return
     */
    List<MenuVO> selectMenus(String username);

    /**
     * 查询菜单列表数据
     * @return
     */
    List<MenuVO> selectAllMenus();

    /**
     * 菜单模糊查询
     * @param menuName
     * @return
     */
    List<MenuVO> selectMenuByName(String menuName,String status);


}
